import { h, Component } from 'preact';
import s from './style';
import img from '~/assets/clipgift.png';


export default class PostCard extends Component {
	constructor() {
		super();
		this.state = {
			
		};
	}
	
	render() {
		return (
			<div className={s.PostCard}>
			    <div className={s.p_top}>
					<div className={s.jifen}>首次邀请好友送 <strong>100</strong> 积分</div>
					<div className={s.p_cored}></div>
					<div className={s.p_m_txt}>长按二维码跟我一起赚积分领红包吧！</div>
					<div className={s.p_user}>
						<span className={s.tx}><img src={img} /></span>
						<h3>来自飞翔的企鹅的邀请卡</h3>
					</div>
				</div>
				<div className={s.p_down}>长按保存海报或者分享本页面，据说分享到朋友圈或微信群是最佳的邀请方式哦！</div>
			</div>
		);
	}
}

